<template>
  <div class="navwrp">
    <!-- <div class="logos" :style="'background-image: url('+titlogo+')'"></div> -->
    <ul>
      <li><router-link to="/home">首页</router-link></li>
      <li><router-link to="/allClass">所有班级</router-link></li>
      <li><router-link to="/classes">班级管理</router-link></li>
      <li><router-link to="/msgs">公告管理</router-link></li>
      <li><router-link to="/Bigdata">数据面板</router-link></li>
    </ul>
  </div>
</template>

<script>
import titlogo from '@/assets/titlogo.png'
export default {
  data () {
    return {
      titlogo: titlogo
    }
  }
}
</script>

<style scoped>
.logos {
    padding: 30px;
    text-align: center;
    font-weight: bold;
    color: #4D7CFE;
    font-size: 20px;
    background-repeat: no-repeat;
    background-size: 70% auto;
    background-position: 33% center;
}

.navwrp {
    position: absolute;
    left: 0;
    bottom: 0;
    top: 0;
    line-height: 40px;
    width: 200px;
    box-shadow: 1px 0 1px #f1f1f1;
}

.navwrp li a {
    display: block;
    padding: 10px;
    padding-left: 22px;
    color: #778CA2;
    font-size: 15px;
    border-left: 2px solid #fff;
    background-color: #fff;
}

.navwrp li a.on {
    border-left: 2px solid #4D7CFE;
    background-color: #F8FAFB;
}
.navwrp li a:hover {
    border-color: #4D7CFE;
    background-color: #F8FAFB;
}
.navwrp li a:active {
    border-color: #4D7CFE;
    background-color: #F8FAFB;
}
</style>